﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="StudentPrint.aspx.cs" Inherits="ZX.WebApp.Crm.StudentPrint" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <style type="text/css">
        /*执模样式*/
        .coursename
        {
            width: 390px;
            text-align: right;
            margin-top: -240px;
            font-size: 13pt;
            font-family: 微软雅黑;
            font-weight: 900;
            color: #f3bb4c;
        }
        .layoutname
        {
            text-align: right;
            font-size: 10pt;
            font-family: 微软雅黑;
            font-weight: 900;
            color: #e2be53;
        }
        .name
        {
            margin-top: -165px;
            font-size: 50pt;
            font-family: 华文中宋;
            font-weight: 900;
            color: #fff;
        }
        .group
        {
            text-align: center;
            height: 50px;
            width: 390px;
            padding-left: 100px;
            margin-top: 146px;
            font-size: 24pt;
            font-family: 微软雅黑;
            font-weight: 900;
        }
        /*战模样式*/
        .coursename1
        {
            width: 380px;
            text-align: center;
            margin-top: -445px;
            font-size: 36pt;
            font-family: 微软雅黑;
            font-weight: 900;
            color: #f3bb4c;
        }
        .layoutname1
        {
            margin-top: 3px;
            text-align: center;
            font-size: 11pt;
            font-family: 微软雅黑;
            font-weight: 900;
            color: #e2be53;
        }
        .name1
        {
            margin-top: 200px;
            font-size: 60pt;
            font-family: 方正粗宋简体,华文中宋;
            font-weight: 300;
            color: #fff;
        }
        .group1
        {
            width: 380px;
            padding-left: 113px;
            margin-top: -168px;
            text-align: center;
            font-size: 25pt;
            font-family: 微软雅黑;
            font-weight: 900;
        }
        /*助教、辅导员*/
        .name2
        {
            margin-top:-165px;
            font-size: 50pt;
            font-family:方正粗宋简体,华文中宋;
            font-weight:500;
        }
        .group2
        {
            text-align: center; 
            height:50px;
            width:390px;
            padding-left:80px;
            margin-top: -55px;
            font-size: 26pt;
            font-family:方正粗宋简体,华文中宋;
            font-weight:500;
        }
        /*复训样式*/
        .coursename3
        {
            width: 390px;
            text-align: right;
            margin-top: -240px;
            font-size: 13pt;
            font-family: 微软雅黑;
            font-weight: 900;
            color: #f3bb4c;
        }
        .layoutname3
        {
            text-align: right;
            font-size: 10pt;
            font-family: 微软雅黑;
            font-weight: 900;
            color: #e2be53;
        }
        .name3
        {
            margin-top: -165px;
            font-size: 50pt;
            font-family: 华文中宋;
            font-weight: 900;
            color: #fff;
        }
        .group3
        {
            text-align: center;
            height: 50px;
            width: 390px;
            padding-left: 92px;
            margin-top: 146px;
            font-size: 24pt;
            font-family: 微软雅黑;
            font-weight: 900;
        }
    </style>
    <style media="print">
        .noprint
        {
            display: none;
        }
    </style>
    <script type="text/javascript">
        //IE打印
        function preview() {
            bdhtml = window.document.body.innerHTML;
            sprnstr = "<!--startprint-->";
            eprnstr = "<!--endprint-->";
            prnhtml = bdhtml.substr(bdhtml.indexOf(sprnstr) + 17);
            prnhtml = prnhtml.substring(0, prnhtml.indexOf(eprnstr));
            window.document.body.innerHTML = prnhtml;
            window.print();
        }
    </script>
</head>
<body>
    <form id="form1" runat="server">
    <div style="page-break-after: always;">
        <table cellpadding="0" cellspacing="0" border="0" width="100%" height="100%">
            <tr>
                <td align="center">
                    <div class="noprint">
                        <label id="lblNoMsg" runat="server" visible="false" style="text-align: center; width: 100%;
                            color: Red;">
                            没有需要打印的学员!</label>
                    </div>
                </td>
            </tr>
            <tr>
                <td align="center">
                    <asp:Literal ID="ltStudent" runat="server"></asp:Literal>
                </td>
            </tr>
        </table>
        <input type="hidden" id="zhimo" value="../../Images/zhimo1.jpg" runat="server" />
        <input type="hidden" id="zhanmo" value="../../Images/zhanmo1.png" runat="server" />
        <input type="hidden" id="zhujiao" value="../../Images/zhujiao1.jpg" runat="server" />
        <input type="hidden" id="fuxun" value="../../Images/zfuxun1.jpg" runat="server" />
    </div>
    </form>
</body>
</html>
